home *** CD-ROM | disk | FTP | other *** search
/ US Department of Defense…ndamentals 1.0 2004 April / US Department of Defense: Firewall & Router Fundamentals 1.0 2004 April.iso / sco / interface / menu.swf / scripts / DefineSprite_62 / frame_1 / DoAction.as
Encoding:
Text File  |  2004-04-05  |  364 bĀ   |  20 lines

  1. difference = _root.menu_position - arrow._x;
  2. arrow._x += difference / delay;
  3. if(_root.menu_position == 293)
  4. {
  5.    temp = arrow._x + 98;
  6. }
  7. if(_root.menu_position == 98)
  8. {
  9.    temp = arrow._x + 32.5;
  10. }
  11. if(_root.menu_position == -97)
  12. {
  13.    temp = arrow._x - 33;
  14. }
  15. if(_root.menu_position == -292)
  16. {
  17.    temp = arrow._x - 98.5;
  18. }
  19. menu._x = (- temp) * 3;
  20.